#include "stdafx.h"
#include "Event.h"

namespace Otl { namespace Win32
{

CEvent::CEvent()
	: m_handle{ ::CreateEventW(nullptr, TRUE, FALSE, nullptr) }
{
}

CEvent::~CEvent()
{
	if (m_handle != nullptr)
	{
		::CloseHandle(m_handle);
	}
}

}}